package chain.node;

import chain.Handler;
import chain.PaymentRequest;

public class Logger extends Handler {
    @Override
    public void handlePaymentRequest(PaymentRequest request) throws Exception {
        System.out.println("pay success, user region: " + request.getUserRegion() + ", pay amount: " + request.getAmount());
    }
}
